<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>
        Demo for QQ登录oauth2.0
    </title>
    <script type="text/javascript">
        var childWindow;
        function toQzoneLogin()
        {//index是laravel设置的路由
            childWindow = window.open("index","TencentLogin","width=450,height=520,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
        }

        function closeChildWindow()
        {
            childWindow.close();
        }
    </script>
</head>
<body>
<a href="#" onclick='toQzoneLogin()'><img src="{{url('static/images/qq/Connect_logo_5.png')}}"></a>

</body>
</html>
